package com.trickytriads.viewmodels.interfaces
{
	import com.trickytriads.events.LoadNewsEvent;
	import com.trickytriads.model.NewsData;
	
	/**
	 * Viewmodel for the NewsView view state.
	 **/
	[Bindable]
	public interface I_NewsViewModel
	{

		// Sends out a news load request. (id = news id, -1 for latest)
		function newsLoadRequest (id:int) : void;
	
		// Loads up the news retrieved.
		function newsLoadDone (evt:LoadNewsEvent) : void;
	
		// Getters/setters for the news data		
		function get currentNewsData () : NewsData;
		function set currentNewsData (v:NewsData) : void;
	}
}